import 'package:guochaoapp/generated/json/base/json_convert_content.dart';

class CartSettleEntity with JsonConvert<CartSettleEntity> {
	bool success;
	String msg;
	int code;
	CartSettleData data;
	dynamic sign;
}

class CartSettleData with JsonConvert<CartSettleData> {
	double priceTotal;
	double weightTotal;
	double pipeWeightTotal;
	double otherWeightTotal;
	bool userBalanceFrozen;
	double userBalance;
	List<CartSettleDataItemList> itemList;
	List<String> keyList;
	List<CartSettleDataCartSkuList> cartSkuList;
}

class CartSettleDataItemList with JsonConvert<CartSettleDataItemList> {
	String categoryImg;
	String categoryName;
	int itemNum;
	double itemPrice;
	bool expand = false;
	List<CartSettleDataItemListItemList> itemList;
}

class CartSettleDataItemListItemList with JsonConvert<CartSettleDataItemListItemList> {
	int skuId;
	dynamic spuId;
	String mallTitle;
	int brandId;
	String brandName;
	String skuSpec;
	double price;
	int num;
	int stock;
	double weight;
	String categoryName;
	String unit;
	bool isPipe;
	double mallFee;
	double repoFee;
	double returnFee;
	bool checked;
}

class CartSettleDataCartSkuList with JsonConvert<CartSettleDataCartSkuList> {
	int skuId;
	dynamic spuId;
	String mallTitle;
	int brandId;
	String brandName;
	String skuSpec;
	int price;
	int num;
	int stock;
	double weight;
	String categoryName;
	String unit;
	bool isPipe;
	double mallFee;
	double repoFee;
	double returnFee;
	bool checked;
}
